<?php
?>

<!DOCTYPE html>
<html lang="pt-br">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>MenteAtiva</title>
    
    <!-- Lightbox -->
    <script src="lib/lightbox/js/jquery-1.11.0.min.js"></script>
	<script src="lib/lightbox/js/lightbox.min.js"></script>
	<link href="lib/lightbox/css/lightbox.css" rel="stylesheet" />
			
    <!-- Bootstrap Core CSS -->
    <link href="lib/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="lib/css/modern-business.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="lib/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	

	
	

	
</head>

<body>
<div id="cabecalho">
    <?php    
    	include 'header.php';
    ?>
</div>   
   
    	<?php 
	    	if(isset($_GET['pg'])){
				$pg = $_GET['pg'];
				switch ($pg){
					case "home":
						include "home.php";
						break;
					case "cursos":
						include "cursos.php";
						break;
					case "login":
						include("admin/login.php");
						break;
					case "galeria":
						if(isset($_GET['i'])){
							$i = $_GET['i'];
							include "albuns.php?i=$i";
						}
						break;
					case "noticias":
						if(isset($_GET['i'])){
							include "noticias/noticia_view_comum.php";
						}
						else{
							include "noticias.php";
						}
						break;
					case "sobre":
						include "sobre.php";
						break;
					case "contato":
						include "contato.php";
						break;
					case "pgNotFound":
						include "404.php";
						break;
					default:
						include "home.php";
						break;
				}//Testando commit
			}
			else
				include "home.php";
				
				?>

       

	
    <!-- /.container -->

    <!-- jQuery Version 1.11.0 -->
    <script src="lib/js/jquery-1.11.0.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="lib/js/bootstrap.min.js"></script>

    <!-- Script to Activate the Carousel -->
    <script>
    $('.carousel').carousel({
        interval: 5000 //changes the speed
    })
    </script>
  
       <div class="container">
       <!-- Our Customers -->
        <div class="row">
            <?php include "parceiros.php"; ?>
        </div>
        <!-- /.row -->
		<div id="footer" class="row">
		<br>
		<hr>
		<br>
			<div class="col-md-4">
				<?php include "footer.php"; ?>
			</div>
		</div>
	
	</div>
</body>

</html>
